package com.huluobo.a2211mdmdemo.video

import com.huluobo.lib_base.Res2
import com.huluobo.lib_http.Const
import kotlinx.coroutines.flow.Flow
import retrofit2.http.GET
import retrofit2.http.Query

/**
 *  Created by LC on 2025/5/8.
 */
interface ApiService {
    @GET(Const.URL_GET_VIDEOS)
    fun getVideos(
        @Query(Const.PARAM_CURRENT_PAGE) currentPage: Int,
        @Query(Const.PARAM_PAGE_SIZE) pageSize: Int
    ): Flow<Res2<VideoEntity>>
}